package com.liurz.jpa.test;

import com.liurz.jpa.common.BaseRepository;
import com.liurz.jpa.common.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TicketServiceImpl<Ticket,String> extends BaseServiceImpl implements TicketService {
    @Autowired
    private TicketRepository ticketRepository;
    @Override
    public BaseRepository getRepository() {
        return ticketRepository;
    }
}
